package net.neptech.repository;

import net.neptech.model.schedule.ScheSetting;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 谢辉
 * @Date 2025/8/13 16:51
 * @Description TODO
 **/
@Repository
public interface SchSettingRepository extends JpaRepository<ScheSetting, Long> {
    Page<ScheSetting> findByDeptIdAndStatus(Long deptId, Integer status,  Pageable pageable);

    List<ScheSetting> findByDeptIdAndStatus(Long deptId, int i);
}
